<?php

// The path of the folder used to store the request and response files
define("TEMP_PATH", "./temp/");

// The symbol which is used to split the id and the data
define("SPLIT_SYMBOL", "\r\n");

// The maximum execution time of a script, in second
define("EXE_TIME", 600);

// The name of response data file
define("RESP_FILE_NAME", "response.cache");

// The response data file will be truncated if its size exceed to this value
define("RESP_MAX_FILE_SIZE", 204800);

// The name of the response lock file
define("RESP_LOCK_FILE_NAME", "resp.lock");

// The name of the session variable which stores the last position of pointer 
// of response data file 
define("RESP_LAST_POSITION_VAR", "lastpos");

// The name of the session variable which stores the array of the names of request 
// data files
define("REQ_FILE_NAME_ARRAY", "reqfilenamearay");

// The name of the session variable which stores the name of the user directory
define("FOLDER_NAME_VAR", "foldername");

// Maximum length of the id, in byte
define("MAX_ID", 50);

// The time wait for terminating the running script if there is no more 
// incoming response data, in microsecond. If you have a 
// high latency connection with the proxy, or frequent failures of 
// openning pages, increase this value may improve performance 
define("RESP_WAITING_TIME", 5000000);
?>